﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;

namespace Sparrow.Extensions
{
    public static class XAttributeExtensions
    {
        public static string GetValue(this XAttribute attribute)
        {
            if (attribute == null)
            {
                return string.Empty;
            }
            else
            {
                return attribute.Value;
            }
        }
    }
}
